DataSourceType Property

       

Returns or sets the data source type for the specified chart workspace. Read-only ChartDataSourceTypeEnum.

expression.DataSourceType

expression   Required. An expression that returns a ChartSpace object.